package com.example.demo.demo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;

/**
 * @Author: 朱胜伟
 * @CreateTime: 2020-12-31 13:47
 * @Description:
 */
@ApiModel("这是一个用户类")
public class User {
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("密码")
    private String password;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
